package com.itany.cloud.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author 石小俊
 */
@Configuration
@Data
@ConfigurationProperties(prefix = "datasource")
public class DataSourceConfig {
    private String driver;
    private String url;
    private String username;
    private String password;
}
